﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;
using System.ComponentModel;
using System.Windows.Forms;

namespace weber.Base
{
	/// <summary>
	/// base tab page
	/// </summary>
	[ToolboxItem(true)]
	[ToolboxBitmap(typeof(System.Windows.Forms.TabPage))]
	public class BaseTabPage : System.Windows.Forms.TabPage
	{
		/// <summary>
		/// web browser control
		/// </summary>
		public BaseWebBrowser Browser
		{
			get
			{
				return _browser;
			}
			set
			{
				_browser = value;
				_browser.Dock = DockStyle.Fill;
				this.Controls.Add(_browser);
			}
		}
		private BaseWebBrowser _browser;
	}
}
